package org.itboys.mobile.entity.mongo.product;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 联系方式 ：empty90911@126.com
 * 描述：农厨_商品_关联_菜谱_实体。
 *
 */
@Entity(value="KitchenProductCookBook", noClassnameStored=true)
public class KitchenProductCookBook extends BaseMongoEntity{
    private Long productId;//商品Id
    private Long cookBookId;//菜谱Id
    public KitchenProductCookBook() {

    }
    public KitchenProductCookBook(Long productId, Long cookBookId) {
        this.productId = productId;
        this.cookBookId = cookBookId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getCookBookId() {
        return cookBookId;
    }

    public void setCookBookId(Long cookBookId) {
        this.cookBookId = cookBookId;
    }
}
